/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ModulHåndtering;

/**
 *
 * @author Magnus
 */
class ControllerDør implements Controller {

    public ControllerDør() {
    }

    @Override
    public String overSætCmd(String cmd) {
        String temp_cmd = cmd;

        while (temp_cmd.length() < 6) {
            temp_cmd = "0" + temp_cmd;
        }

        return Protokol.START_CMD + temp_cmd + Protokol.SLUT_CMD;
    }

}
